//
//  GZBaseController.h
//  GongZheng
//
//  Created by huan on 2018/4/26.
//  Copyright © 2018年 huan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GZNavigationBar.h"

@interface GZBaseController : UIViewController
/**
 导航栏标题
 */
@property (nonatomic, copy) NSString *titleString;

/**
 是否显示左边按钮
 */
@property (nonatomic, assign) BOOL notShowLeft;
/**
 显示右边按钮
 */
@property (nonatomic, assign) BOOL showRight;

/**
 导航栏
 */
@property (nonatomic, strong) GZNavigationBar *navBar;



/**
 * 功能：设置修改StatusBar
 * 参数：（1）StatusBar样式：statusBarStyle
 *      （2）是否隐藏StatusBar：statusBarHidden
 *      （3）是否动画过渡：animated
 */
-(void)changeStatusBarStyle:(UIStatusBarStyle)statusBarStyle
            statusBarHidden:(BOOL)statusBarHidden
    changeStatusBarAnimated:(BOOL)animated;

/**
 收回键盘
 */
- (void)recoverKeyboard;
/**
 判断是否为iphoneX
 */
- (BOOL)uiDeviceIsX;
/**
 返回
 */
- (void)navigationLeftButtonAction;

- (void)navigationRightButtonAction;

- (void)refreshData;

@end
